/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package au.edu.swin.swinvehicle.eventtype;

import java.util.List;
import javax.ejb.Remote;

/**
 * EventTypeManagerRemote
 * ----------------
 * This is the remote interface of Event Type 
 *
 *
 * @author Dany Gunawan
 * @lastmodify 2009-05-12
 */
@Remote
public interface EventTypeManagerRemote {

    public void addEventType(EventTypeDetailedTO to) throws EventTypeManagerException;

    public void editEventType(EventTypeDetailedTO to) throws EventTypeManagerException;

    public void deleteEventType(Long id) throws EventTypeManagerException;

    public List<EventTypeTO> getAllEventTypes() throws EventTypeManagerException;

    public List<EventTypeDetailedTO> getAllDetailedBookingTypes() throws EventTypeManagerException;

    public EventTypeDetailedTO getEventType(Long id) throws EventTypeManagerException;
}
